package com.chinawayltd.ews.sample.mapper;

import com.chinawayltd.ews.sample.model.TTemplateNode;
import com.chinawayltd.ews.sample.model.TTemplateNodeExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface TTemplateNodeMapper {
    int countByExample(TTemplateNodeExample example);

    int deleteByExample(TTemplateNodeExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TTemplateNode record);

    int insertSelective(TTemplateNode record);

    List<TTemplateNode> selectByExample(TTemplateNodeExample example);

    TTemplateNode selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TTemplateNode record, @Param("example") TTemplateNodeExample example);

    int updateByExample(@Param("record") TTemplateNode record, @Param("example") TTemplateNodeExample example);

    int updateByPrimaryKeySelective(TTemplateNode record);

    int updateByPrimaryKey(TTemplateNode record);
}